#include<linux/module.h>
#include<linux/sched.h>
#include<linux/pid.h>
MODULE_LICENSE("GPL");
static int __init find_get_pid_init(void)
{
	printk("into find_get_pid_init.\n");
	struct pid * kpid=find_get_pid(current->pid);
	printk("the count of the pid is :%d\n",kpid->count);
	printk("the level of the pid is :%d\n",kpid->level);

	printk("the pid of the find_get_pid is : %d",kpid->numbers[kpid->level].nr);
	printk("out find_get_pid_init.\n");
	return 0;
}
static void __exit find_get_pid_exit(void)
{
	printk("goodbye find_get_pid\n");
}
module_init(find_get_pid_init);
module_exit(find_get_pid_exit);
